<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk">

<f:view>
<f:loadBundle var="text" basename="#{gdbgList.bundleName}"/>
    <head>
        <title>#{text['gdbgList.title']}</title>
        <meta name="heading" content="#{text['gdbgList.heading']}"/>
        <meta name="menu" content="GdbgMenu"/>
    </head>
<body id="gdbgList">
<h:form id="editGdbg">

<h:commandButton value="#{text['button.add']}" action="add" id="add" immediate="true" styleClass="button"/>
<h:commandButton value="#{text['button.done']}" action="mainMenu" id="cancel" immediate="true" styleClass="button" style="margin-left: 5px"/>
   
<t:dataTable id="gdbgs" var="gdbg" style="margin-top: 10px"
    value="#{gdbgList.gdbgs}" rows="25" sortColumn="#{gdbgList.sortColumn}"
    sortAscending="#{gdbgList.ascending}" styleClass="scrollerTable table"
    headerClass="standardTable_Header" rowClasses="standardTable_Row1,standardTable_Row2"
    columnClasses="standardTable_Column,standardTable_Column,standardTable_Column,standardTable_Column,standardTable_ColumnCentered">

    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="gdmc" arrow="true">
                <h:outputText value="#{text['gdbg.gdmc']}" />
            </t:commandSortHeader>
        </f:facet>
       <h:commandLink action="#{gdbgForm.edit}" value="#{gdbg.gdmc}">
            <f:param name="gdbgid" value="#{gdbg.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="bgsj" arrow="true">
                <h:outputText value="#{text['gdbg.bgsj']}" />
            </t:commandSortHeader>
        </f:facet>
       <h:commandLink action="#{gdbgForm.edit}" value="#{gdbg.bgsj}">
            <f:param name="gdbgid" value="#{gdbg.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    <!-- 
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="id" arrow="true">
                <h:outputText value="#{text['gdbg.id']}" />
            </t:commandSortHeader>
        </f:facet>
    </t:column>
    
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="cze" arrow="true">
                <h:outputText value="#{text['gdbg.cze']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{gdbg.cze}" escape="true"/>
    </t:column>
    
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="gddm" arrow="true">
                <h:outputText value="#{text['gdbg.gddm']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{gdbg.gddm}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="operation" arrow="true">
                <h:outputText value="#{text['gdbg.operation']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{gdbg.operation}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="optdate" arrow="true">
                <h:outputText value="#{text['gdbg.optdate']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{gdbg.optdate}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="username" arrow="true">
                <h:outputText value="#{text['gdbg.username']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{gdbg.username}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="version" arrow="true">
                <h:outputText value="#{text['gdbg.version']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{gdbg.version}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="xh" arrow="true">
                <h:outputText value="#{text['gdbg.xh']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{gdbg.xh}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="zze" arrow="true">
                <h:outputText value="#{text['gdbg.zze']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{gdbg.zze}" escape="true"/>
    </t:column>-->
</t:dataTable>

<ui:include src="/common/tableFooter.xhtml">
    <ui:param name="tableName" value="gdbgs"/>
</ui:include>

<script type="text/javascript">
    highlightTableRows("editGdbg:gdbgs");
</script>

</h:form>
</body>
</f:view>
</html> 